﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="event_comment_add.aspx.cs" Inherits="admin_UKNOW_event_event_comment_add" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>活动评论信息</title>
    <link href="../../css/default.css" rel="stylesheet" type="text/css" />

    <script src="../../js/jUtility.js" type="text/javascript"></script>

    <script type="text/javascript" src="../../common/calendar.js"></script>

    <script type="text/javascript" src="../../../fckeditor/fckeditor.js"></script>

    <script type="text/javascript" src="../../js/jquery-1.4.2.min.js"></script>

    <script type="text/javascript">
        window.onload = function () {
            if (document.getElementById("content")) {
                var fck = new FCKeditor('content');
                fck.BasePath = "../../../fckeditor/";
                fck.Width = "99%";
                fck.Height = "600px"
                fck.ReplaceTextarea();
            }

            //initTextarea("concact");
        }
        function initTextarea(id) {
            if (document.getElementById(id) && document.getElementById(id).style.display != 'none') {
                var fck2 = new FCKeditor(id);
                fck2.BasePath = "../../../fckeditor/";

                fck2.Width = "99%";
                fck2.Height = "200px"
                fck2.ReplaceTextarea();
            }
        }
    </script>

    <style type="text/css">
        .style1
        {
            width: 9%;
        }
    </style>

</head>
<body>
  <table width="100%" height="500" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
            <td height="414" align="left" valign="top" class="rightbg">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td height="2" bgcolor="#A49B81">
                                    </td>
                                </tr>
                                <tr>
                                    <td height="25" background="../../images/position_bg.gif" bgcolor="#EEF6FE" class="subnav"
                                        style="background-repeat: repeat-y; background-position: left; padding-left: 6px;
                                        padding-top: 3px;">
                                        <asp:Label ID="headers" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td height="1" bgcolor="#B0C9E8">
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td height="16">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="top" style="padding-left: 10px;">
                            <form id="form1" method="post" runat="server" enctype="multipart/form-data">
                            <asp:HiddenField ID="state" runat="server" />
                            <asp:HiddenField ID="aid" runat="server" />
                            <asp:HiddenField ID="isstaticpub" runat="server" />
                            <asp:HiddenField ID="ordernum" runat="server" />
                            <table width="95%" height="728" border="1" align="center" cellpadding="0" cellspacing="0"
                                bordercolorlight="#2583BC" bordercolordark="#ffffff">
                                <tr>
                                    <td width="100%" height="641" valign="top">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <th align="left" width="80%">
                                                    <asp:Label ID="infoname" runat="server"></asp:Label>
                                                </th>
                                                <th align="left">
                                                    <a id="hrefBack" runat=server>
                                                        返回 </a>
                                                </th>
                                            </tr>
                                        </table>
                                        <br>
                                        <table width="100%" border="0">
                                            <tr>
                                                <td align="right" class="style1">
                                                    发表评论的会员：
                                                </td>
                                                <td width="2%">
                                                    &nbsp;
                                                </td>
                                                <td width="75%">
                                                    <asp:DropDownList ID="comment_memberID_ddl" runat="server">
                                                        <asp:ListItem Text="--请选择--" Value="" />
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            </table>
                                        <table width="100%" border="0" id="con" runat="server" visible="true">
                                            <tr>
                                                <td align="center">
                                                    <font color="#FF0000">* </font> 评论内容：
                                                </td>
                                                <td align="left">
                                                    <asp:TextBox ID="comment_content" TextMode="MultiLine" Rows="7" Columns="50" runat="server" 
                                                        Height="113px" Width="367px" />
                                                </td>
                                            </tr>
                                              <tr>
                                                <td align="center">
                                                    
                                                    图片上传：</td>
                                                <td align="left">
                                                    <asp:FileUpload ID="file" runat="server" Height="27px" Width="547px" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center">
                                                    图片名称： 
                                                </td>
                                                <td align="left">
                                                    <asp:TextBox ID="TextBox2"  Rows="7" Columns="50" runat="server" 
                                                        Width="240px" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center">
                                                    图片说明： 
                                                </td>
                                                <td align="left">
                                                    <asp:TextBox ID="TextBox1" TextMode="MultiLine" Rows="7" Columns="50" runat="server" />
                                                </td>
                                            </tr>
                                          <tr>
                                                <td align="center">
                                                    图片Tag ：
                                                </td>
                                                <td align="left">
                                                    <asp:TextBox ID="TextBox44" TextMode="MultiLine" Rows="7" Columns="50" runat="server" />
                                                </td>
                                            </tr>
                                            </table>
                                        <table width="100%" border="0">
                                            <tr>
                                                <td height="54" colspan="3" align="center">
                                        <table width="100%" border="0" id="con0" runat="server" visible="true">
                                              <tr>
                                                <td align="center">
                                                    
                                                    视频上传：</td>
                                                <td align="left">
                                                    <asp:FileUpload ID="file0" runat="server" Height="27px" Width="547px" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center">
                                                    视频名称： 
                                                </td>
                                                <td align="left">
                                                    <asp:TextBox ID="TextBox4"  Rows="7" Columns="50" runat="server" 
                                                        Width="240px" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center">
                                                    视频说明： 
                                                </td>
                                                <td align="left">
                                                    <asp:TextBox ID="TextBox5" TextMode="MultiLine" Rows="7" Columns="50" 
                                                        runat="server" />
                                                </td>
                                            </tr>
                                          <tr>
                                                <td align="center">
                                                    视频Tag ：
                                                </td>
                                                <td align="left">
                                                    <asp:TextBox ID="TextBox6" TextMode="MultiLine" Rows="7" Columns="50" 
                                                        runat="server" />
                                                </td>
                                            </tr>
                                            </table>
                                                    <asp:Button Text="保存" ID="sub3" OnClientClick="return subfunc(1)" runat="server"
                                                        OnClick="Sub_click" />
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                            </form>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <iframe id="wait2" name="wait2" style="display: none" width="100%" height="100%"
        src="../../images/wait.gif" frameborder='0' align='middle' bgcolor='#FFFFFF'>
    </iframe>

    <script type="text/javascript">

        var o;

        function subfunc(flag) {
//            if (!isFilled(form1.title)) {
//                return warning('title', '标题不能为空!');
//            }


           


            form1.state.value = flag;

            return true;
        }
        function warning(FieldName, WarningString) {
            alert(WarningString);
            eval("form1." + FieldName + ".focus();");
            return (false);
        }
        function stag() {

            return true;
        }
        function addinput() {
            var pname = $("#pname").val();
            if (pname == "") {
                alert("请输入添加内容的名称！");
                return false;
            }
            $("#pname").val('');
            $("#cms_mores").after("<tr><td align=\"right\">" + pname + "：</td><td></td><td><textarea name=\"_cmsinfomore_" + pname + "\" rows=\"7\" cols=\"50\" id=\"_cmsinfomore_" + pname + "\"></textarea></td></tr>");
        }
    </script>

</body>
</html>
